a794eaa2da281c411cfa41b9b66f831942a0577c,src/main/java/org/joda/time/format/PeriodFormat.java,PeriodFormat,buildRegExFormatter,#ResourceBundle#,209
Before Change
builder.appendSuffix(b.getString("PeriodFormat.year"), b.getString("PeriodFormat.years"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants)
.appendMonths();
if (b.containsKey("PeriodFormat.months.regex")) {
builder.appendSuffix(b.getString("PeriodFormat.months.regex").split(regExSeparator),
b.getString("PeriodFormat.months.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.month"), b.getString("PeriodFormat.months"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants)
.appendWeeks();
if (b.containsKey("PeriodFormat.weeks.regex")) {
builder.appendSuffix(b.getString("PeriodFormat.weeks.regex").split(regExSeparator),
b.getString("PeriodFormat.weeks.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.week"), b.getString("PeriodFormat.weeks"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants)
.appendDays();
if (b.containsKey("PeriodFormat.days.regex")) {
builder.appendSuffix(b.getString("PeriodFormat.days.regex").split(regExSeparator),
b.getString("PeriodFormat.days.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.day"), b.getString("PeriodFormat.days"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants)
.appendHours();
if (b.containsKey("PeriodFormat.hours.regex")) {
builder.appendSuffix(b.getString("PeriodFormat.hours.regex").split(regExSeparator),
b.getString("PeriodFormat.hours.list").split(regExSeparator));
After Change
builder.appendSuffix(b.getString("PeriodFormat.year"), b.getString("PeriodFormat.years"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants);
builder.appendMonths();
if (containsKey(b, "PeriodFormat.months.regex")) {
builder.appendSuffix(
b.getString("PeriodFormat.months.regex").split(regExSeparator),
b.getString("PeriodFormat.months.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.month"), b.getString("PeriodFormat.months"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants);
builder.appendWeeks();
if (containsKey(b, "PeriodFormat.weeks.regex")) {
builder.appendSuffix(
b.getString("PeriodFormat.weeks.regex").split(regExSeparator),
b.getString("PeriodFormat.weeks.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.week"), b.getString("PeriodFormat.weeks"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants);
builder.appendDays();
if (containsKey(b, "PeriodFormat.days.regex")) {
builder.appendSuffix(
b.getString("PeriodFormat.days.regex").split(regExSeparator),
b.getString("PeriodFormat.days.list").split(regExSeparator));
} else {
builder.appendSuffix(b.getString("PeriodFormat.day"), b.getString("PeriodFormat.days"));
}
builder.appendSeparator(b.getString("PeriodFormat.commaspace"), b.getString("PeriodFormat.spaceandspace"), variants);
builder.appendHours();
if (containsKey(b, "PeriodFormat.hours.regex")) {
builder.appendSuffix(